/**
 * 
 */
package com.jie.eclipse.pan.form.item.table;

import com.jie.eclipse.pan.data.BaseDataEntity;
import com.jie.eclipse.pan.form.support.FormItem;

/**
 * @author yanjie
 *
 */
public class TheadTd extends FormItem{
	/**
	 * 
	 */
	public TheadTd() {
		this.setNodeName("td");
	}
	
	@Override
	public void configItem(BaseDataEntity config,String action) {
		if(config ==null)return;
		this.setNodeValue(config.gpsv("caption"));
		this.spsnnv("width", config.gpsv("width")+(config.isInt("width") ? "px":""));
	}
}